{if isset($messg) }
<div class='admin_message_warning'>
<b>{$messg}:</b>
<br />
{section name=errorList loop=$errors}
&bull; {$errors[errorList]} <br />
{/section}
</div>
{/if}
<fieldset>
	<legend>{$formTitle}</legend>
<form action="users.php?do=new" method="post">
	<table width='100%'>
		<tr>
		<td>Username</td><td><input type='text' name='username' {if isset($username_value) } value='{$username_value}'{/if}></td>
		</tr>
		<tr>
		<td>Password</td><td><input type='password' name='password' {if isset($password_value) } value='{$password_value}'{/if}></td>
		</tr>
		<tr>
		<td>Confirm Password</td><td><input type='password' name='confpass' {if isset($confpass_value) } value='{$confpass_value}'{/if}></td>
		</tr>
		<tr>
		<td>Email Address</td><td><input type='text' name='email' {if isset($email_value) } value='{$email_value}'{/if}></td>
		</tr>
		<tr>
		<td>Is an admin?</td>
		<td>
		<select name='admin'>
			<option value='0' {if $admin==0}selected{/if}>No</option>
			<option value='1' {if $admin==1}selected{/if}>Yes</option>
		</select>
		</td>
		</tr>
		<tr>
		<td colspan='2'><input type='submit' value='Add User' name='submit'></td>
		</tr>
	</table>
</form>
</fieldset>